package cn.edu.scau.cmi.yangzemin.ComprehensiveExperiment;
import java.io.IOException;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;

public class ComprehensiveExperiment extends Application{
	public static void main(String[] args) {
		launch(args);
	}

	public void start(Stage primaryStage) throws IOException {
		FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/cn/edu/scau/cmi/yangzemin/ComprehensiveExperiment/comprehensiveExperiment.fxml"));
		Parent root = fxmlLoader.load();
		primaryStage.setTitle("综合性实验");
		primaryStage.setResizable(false); 
		//Image image = new Image("/cn/edu/scau/cmi/yangzemin/ComprehensiveExperiment/yzm.png");
		//ImageView imageView = new ImageView();
		//imageView.setImage(image);
		primaryStage.setScene(new Scene(root));
		ComprehensiveExperimentUIController comprehensiveExperimentUIController = fxmlLoader.getController();
		comprehensiveExperimentUIController.init();
		primaryStage.show();  
	}  
}
